#ifndef IOT_COMMUNICATION_IOT_BUSINESS_PROCESS_H_
#define IOT_COMMUNICATION_IOT_BUSINESS_PROCESS_H_
#include <iostream>
#include <string>
#include "mqtt_sensor.h"
using namespace std;

class IOTBusinessProcess
{
private:
    MosquittoAPI *iot_mqtt_entity_;

public:
    IOTBusinessProcess(string _host,int _port);
    ~IOTBusinessProcess();

    void iot_business_process_init();
    void iot_business_process_start();

    void iot_recv_message_callback(const mosquitto_message *);
    void iot_send_message(char *topic, void *message);
    bool iot_temp_process(const mosquitto_message *);
};

#endif